import Command from "./command"

export class GetTourDataCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "GET_TOUR_DATA"
  }
}
export class DeleteUnusedTourSnapshotsCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "DELETE_UNUSED_TOUR_SNAPSHOTS"
  }
}
export class TourStartCommand extends Command {
  constructor(index?: any, loop?: any, steps?: any) {
    super()
    this.id = "TOUR_START"
    this.payload = { index, loop, steps }
  }
}
export class TourStopCommand extends Command {
  constructor() {
    super(...arguments)
    this.id = "TOUR_STOP"
  }
}
export class TourStepCommand extends Command {
  constructor(index: any, instant = !1) {
    super()
    this.id = "TOUR_STEP"
    this.payload = { index, instant }
  }
}
export class TourRelativeCommand extends Command {
  constructor(forward: any, instant = !1) {
    super()
    this.id = "TOUR_RELATIVE"
    this.payload = { forward, instant }
  }
}
